Skip to content

[AutoPR azure-mgmt-fileshares]-generated-from-SDK Generation - Python-6256859#46749

Merged
ankushbindlish2 merged 6 commits intomainfrom
sdkauto/azure-mgmt-fileshares-6256859
May 7, 2026
Merged

[AutoPR azure-mgmt-fileshares]-generated-from-SDK Generation - Python-6256859#46749
ankushbindlish2 merged 6 commits intomainfrom
sdkauto/azure-mgmt-fileshares-6256859

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

@azure-sdk azure-sdk commented May 6, 2026

Configurations: 'specification/fileshares/resource-manager/Microsoft.FileShares/FileShares/tspconfig.yaml', and CommitSHA: '61f4dfae58f52c2c814ea7c6653ce77ac0cacd4a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6256859 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: Submitted by:

Release Plan Details

@msyyc msyyc marked this pull request as ready for review May 6, 2026 08:44
Copilot AI review requested due to automatic review settings May 6, 2026 08:44
@msyyc
Copy link
Copy Markdown
Member

msyyc commented May 6, 2026

test files are copied from #46602

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new management-plane Python package, azure-mgmt-fileshares, generated from the Microsoft.FileShares TypeSpec configuration, along with CI wiring and an initial set of tests/samples to support validation and future releases.

Changes:

  • Added a new sdk/fileshares service directory with CI pipeline configuration and TypeSpec provenance (tsp-location.yaml).
  • Added the generated azure-mgmt-fileshares package (client, models, operations, async surface) plus metadata files (_metadata.json, apiview-properties.json, assets.json).
  • Added a mix of generated and hand-written tests/samples for CRUD, listing, snapshots, informational ops, and private endpoint surfaces.

Reviewed changes

Copilot reviewed 89 out of 91 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
sdk/fileshares/ci.yml Adds service-directory CI pipeline definition for fileshares and publishes the azure-mgmt-fileshares artifact.
sdk/fileshares/azure-mgmt-fileshares/tsp-location.yaml Records the source TypeSpec directory/repo/commit used to generate this package.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_snapshots.py Hand-written recorded tests covering snapshot CRUD and listing behavior.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_private_endpoint.py Hand-written recorded tests for private link resources and private endpoint connections listing.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_operations.py Hand-written (live-only) smoke test for operations.list().
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_negative.py Hand-written recorded negative-path tests for common error scenarios.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_listing.py Hand-written recorded tests for subscription/resource-group listing operations.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_informational.py Hand-written recorded tests for informational operations and name availability checks.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_edge_cases.py Hand-written recorded tests for name/tag/network edge cases.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_crud.py Hand-written (live-only) end-to-end CRUD test for FileShares.
sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_complex_scenarios.py Hand-written recorded tests for multi-resource and variant scenarios.
sdk/fileshares/azure-mgmt-fileshares/tests/conftest.py Adds test-proxy sanitizers and disables specific batch sanitizers for name/id assertions.
sdk/fileshares/azure-mgmt-fileshares/tests/_fs_test_helpers.py Shared helpers for the hand-written test suite (client creation, payload builders, cleanup, variable naming).
sdk/fileshares/azure-mgmt-fileshares/README.md New package README with installation/authentication guidance and client snippet.
sdk/fileshares/azure-mgmt-fileshares/pyproject.toml Defines package metadata, dependencies, dynamic version/readme, and packaging configuration.
sdk/fileshares/azure-mgmt-fileshares/MANIFEST.in Ensures readme/license/typed marker and selected namespace init files are included in distributions.
sdk/fileshares/azure-mgmt-fileshares/LICENSE Adds MIT license text for the package.
sdk/fileshares/azure-mgmt-fileshares/dev_requirements.txt Development/test requirements for the package.
sdk/fileshares/azure-mgmt-fileshares/CHANGELOG.md Introduces initial release entry 1.0.0b1.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/py.typed Adds PEP 561 marker for typing support.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/operations/_patch.py Customization hook scaffold for operations layer.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/operations/init.py Exposes operation groups and wires patch hook.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/models/_patch.py Customization hook scaffold for models layer.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/models/_enums.py Generated enums for the FileShares RP.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/models/init.py Exposes generated models/enums and wires patch hook.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/operations/_patch.py Async operations customization hook scaffold.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/operations/init.py Exposes async operation groups and wires patch hook.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/_patch.py Async client-layer customization hook scaffold.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/_configuration.py Generated async client configuration (policies, auth, api_version).
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/_client.py Generated async management client for FileShares RP.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/aio/init.py Async package exports and patch wiring.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_version.py Defines the package version constant (1.0.0b1).
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_validation.py Generated API-version availability validation decorator.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_utils/model_base.py Generated model base/serialization utilities.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_utils/init.py Generated _utils package init.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_patch.py Sync client-layer customization hook scaffold.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_configuration.py Generated sync client configuration (policies, auth, api_version).
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/_client.py Generated sync management client for FileShares RP.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/fileshares/init.py Main package exports/version wiring and patch hook.
sdk/fileshares/azure-mgmt-fileshares/azure/mgmt/init.py Namespace package init for azure.mgmt.
sdk/fileshares/azure-mgmt-fileshares/azure/init.py Namespace package init for azure.
sdk/fileshares/azure-mgmt-fileshares/assets.json Points to the assets repo tag containing recordings/artifacts for this package.
sdk/fileshares/azure-mgmt-fileshares/apiview-properties.json APIView metadata including cross-language mappings.
sdk/fileshares/azure-mgmt-fileshares/_metadata.json Generation metadata (apiVersion, emitter version, source commit/repo).
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_private_link_resources_operations.py Auto-generated (skipped) sync tests scaffold for private link resources.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_private_link_resources_operations_async.py Auto-generated (skipped) async tests scaffold for private link resources.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_private_endpoint_connections_operations.py Auto-generated (skipped) sync tests scaffold for private endpoint connections.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_private_endpoint_connections_operations_async.py Auto-generated (skipped) async tests scaffold for private endpoint connections.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_operations.py Auto-generated (skipped) sync tests scaffold for operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_operations_async.py Auto-generated (skipped) async tests scaffold for operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_informational_operations_operations.py Auto-generated (skipped) sync tests scaffold for informational operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_informational_operations_operations_async.py Auto-generated (skipped) async tests scaffold for informational operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_file_shares_operations.py Auto-generated (skipped) sync tests scaffold for file shares operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_file_shares_operations_async.py Auto-generated (skipped) async tests scaffold for file shares operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_file_share_snapshots_operations.py Auto-generated (skipped) sync tests scaffold for snapshot operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/test_file_shares_mgmt_file_share_snapshots_operations_async.py Auto-generated (skipped) async tests scaffold for snapshot operations.
sdk/fileshares/azure-mgmt-fileshares/generated_tests/conftest.py Auto-generated test-proxy sanitizers for generated tests.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_link_resources_list_by_file_share.py Auto-generated sample for listing private link resources.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_link_resources_get.py Auto-generated sample for getting a private link resource.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_list_by_file_share.py Auto-generated sample for listing private endpoint connections.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_get.py Auto-generated sample for getting a private endpoint connection.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_delete.py Auto-generated sample for deleting a private endpoint connection.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/private_endpoint_connections_create.py Auto-generated sample for creating a private endpoint connection.
sdk/fileshares/azure-mgmt-fileshares/generated_samples/operations_list_minimum_set_gen.py Auto-generated sample for listing operations (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/operations_list_maximum_set_gen.py Auto-generated sample for listing operations (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_update_maximum_set_gen.py Auto-generated sample for updating a file share (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_subscription_minimum_set_gen.py Auto-generated sample for listing shares by subscription (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_subscription_maximum_set_gen.py Auto-generated sample for listing shares by subscription (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_parent_minimum_set_gen.py Auto-generated sample for listing shares by resource group (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_list_by_parent_maximum_set_gen.py Auto-generated sample for listing shares by resource group (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_get_maximum_set_gen.py Auto-generated sample for getting a file share (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_delete_maximum_set_gen.py Auto-generated sample for deleting a file share (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_create_or_update_maximum_set_gen.py Auto-generated sample for creating/updating a file share (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_check_name_availability_minimum_set_gen.py Auto-generated sample for name availability check (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_shares_check_name_availability_maximum_set_gen.py Auto-generated sample for name availability check (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_update_maximum_set_gen.py Auto-generated sample for updating snapshot metadata (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_list_minimum_set_gen.py Auto-generated sample for listing snapshots (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_list_maximum_set_gen.py Auto-generated sample for listing snapshots (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_get_maximum_set_gen.py Auto-generated sample for getting a snapshot (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_delete_maximum_set_gen.py Auto-generated sample for deleting a snapshot (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_snapshot_create_or_update_maximum_set_gen.py Auto-generated sample for creating a snapshot (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_usage_data_minimum_set_gen.py Auto-generated sample for usage data (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_usage_data_maximum_set_gen.py Auto-generated sample for usage data (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_provisioning_recommendation_minimum_set_gen.py Auto-generated sample for provisioning recommendation (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_provisioning_recommendation_maximum_set_gen.py Auto-generated sample for provisioning recommendation (maximum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_limits_minimum_set_gen.py Auto-generated sample for limits (minimum set).
sdk/fileshares/azure-mgmt-fileshares/generated_samples/file_share_get_limits_maximum_set_gen.py Auto-generated sample for limits (maximum set).

Comment thread sdk/fileshares/azure-mgmt-fileshares/README.md Outdated
Comment thread sdk/fileshares/azure-mgmt-fileshares/tests/_fs_test_helpers.py
Comment thread sdk/fileshares/azure-mgmt-fileshares/tests/test_fileshares_crud.py
@ChenxiJiang333
Copy link
Copy Markdown
Member

/azp run prepare-pipelines

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@ankushbindlish2 ankushbindlish2 merged commit 2537ddc into main May 7, 2026
19 checks passed
@ankushbindlish2 ankushbindlish2 deleted the sdkauto/azure-mgmt-fileshares-6256859 branch May 7, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants